<!--{eval output();}-->
<!--{if debuginfo()}-->
<script type="text/javascript">
try{
	if(console && console.log){
		console.log('Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries <!--{if $_G[gzipcompress]}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo ucwords(C::memory()->type)}--> On<!--{/if}-->.');
	}
}catch(e){}
_notice ={};
_notice.flashStep = 1;
_notice.checkurl = 'user.php?mod=my&op=notification&filter=checknew';
_notice.normalTitle = document.title;
_notice.getNotificationCount = function (){
	axios.get(_notice.checkurl).then((json) => {
		let sum = parseInt(json.data.sum);
		// _notice.showTips(sum);
		if (json.data.timeout > 0) window.setTimeout(function(){_notice.getNotificationCount();}, json.data.timeout);
	});
}
_notice.showTips = function (sum){
	return;
	if(sum>0){
		//  jQuery('#dzz_notification>span.badge').html(sum).removeClass('hide');
		//  jQuery('#dzz_notification>span.dzz').hide();
		//_notice.flashTitle();
	}else{
		//  jQuery('#dzz_notification>span.badge').addClass('hide');
		//  jQuery('#dzz_notification>span.dzz').show();
		//_notice.flashTitle(1);
	}
}
_notice.flashTitle = function (flag){
	//仅窗口不在焦点时闪烁title，回到焦点时停止闪烁并将title恢复正常
	if(flag || CurrentActive){//当前处于焦点
		document.title=_notice.normalTitle;
		_notice.flashTitleRun = false;
		return;//退出循环
	}
	_notice.flashTitleRun = true;
	_notice.flashStep++;
	if (_notice.flashStep==3) {_notice.flashStep=1;}
	if (_notice.flashStep==1) {document.title="{lang have_new_notifications}";}
	if (_notice.flashStep==2) {document.title="【　　　　　　】";}
	setTimeout(function(){_notice.flashTitle();},500);  //循环
}
_notice.getNotificationCount();
</script>
<!--{/if}-->
<!--{eval updatesession();}-->
<!--{if !$_G['setting']['bbclosed']}-->
	<!--{if !isset($_G['cookie']['sendmail'])}-->
	<script type="text/javascript" src="misc.php?mod=sendmail&rand=$_G[timestamp]"></script>
	<!--{/if}-->
<!--{/if}-->
<!--{if $_G[uid]}-->
<!--{if !isset($_G['cookie']['checkupgrade']) || !isset($_G['cookie']['checkauthlic'])}-->
 <script type="text/javascript" src="misc.php?mod=upgrade&action=checkupgrade&rand=$_G[timestamp]"></script>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['setting']['statcode']}-->
$_G['setting']['statcode']
<!--{/if}-->
</body>
</html>